1 using UnityEngine;
2 using
System.Collections;
3
4 [System.Serializable]

5 public
struct GridCoords {
6     
public int row, col;
7
8     
public GridCoords(int row, int col) {
9         
this.row = row;
10         
this.col = col;
11     }
12
13     
public override string ToString() {
14         
return "coords: " + row + ", " + col;
15     }
16 }


Gõ tìm kiếm nhanh...